@import url('https://fonts.googleapis.com/css2?family=Oswald&display=swap');
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.3.0/css/all.min.css');

#map {
    height: 400px;
    width: 100%;
}

body {
    margin: 0;
    /* background-color: rgb(254, 245, 245); */
    height: 100%;
}

html {
    font-family: Oswald;
    scroll-behavior: smooth;
    height: 100%;
}

nav>div>ul {
    display: flex;
    list-style: none;
    justify-content: center;
}

img.partner {
    width: 600px;
    height: 172px;
    margin: 30px 0px;
}

div.partners {
    margin: 25px 0px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

nav>div>ul>li>a {
    text-decoration: none;
    color: white;
    font-size: 2rem;
    padding-bottom: 6px;
    font-family: Oswald;
}

nav>div>ul>li {
    margin: 16px 32px;
    transition: all 0.2s linear;
}

nav>div>ul>li:hover {
    scale: 1.1;
}

/* sticky header */
/* .header-main {
    color: #f1f1f1;
    z-index:10;
  } */


/* The sticky class is added to the header with JS when it reaches its scroll position */
/* .sticky {
    position: fixed;
    top: 0;
    width:100%;
    left:0;
    background-color: rgb(20, 130, 1);
    padding-bottom: 15px;
  } */

/* Add some top padding to the page content to prevent sudden quick movement (as the header gets a new position at the top of the page (position:fixed and top:0) */
/* .sticky + .content {
    padding-top: 102px;
  } */

/*  */
h1 {
    color: white;
    font-size: 8rem;
    font-family: Oswald;
    text-align: left;
    margin-top: 250px !important;
    cursor: default;
}

.heroParagraph {
    color: white;
    font-size: 4rem;
    font-family: Oswald;
    cursor: default;
    margin-top: 50px !important;
}

.hero {
    padding: 0px 50px;
    height: 100vh;
    background: linear-gradient(rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0.75)), url("../images/landingphoto.jpg");
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.button {
    font-family: Oswald;
    margin-top: 80px;
    background-color: rgb(45, 45, 45);
    color: white;
    font-size: 1.5rem;
    padding: 16px 24px 20px 24px;
    border: none;
    text-align: center;
    text-decoration: none;
    transition: background-color 0.2s linear;
}

.button:hover {
    background-color: rgb(58, 58, 58);
    cursor: pointer;
}


a#index {
    border-bottom: 2px solid white;
}

li#menu {
    display: none;
    margin-right: 0;
}

.uslugi {
    margin-bottom: 100px;
}

.uslugi-header {
    text-align: center;
    font-size: 6rem;
    margin-top: 30px;
    color: rgb(20, 130, 1);
}

.uslugi-list>ul>li>p {
    line-height: 1.5;
}
.uslugi-list {
    margin-top: 50px;
    display: flex;
    height: 35vh;
    justify-content: center;
    gap: 20px;
    background-color: white;
    width: 80%;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.2s;
    /* box-shadow: rgba(17, 12, 46, 0.15) 0px 48px 100px 0px; */
    box-shadow: rgba(50, 50, 93, 0.25) 0px 6px 12px -2px, rgba(0, 0, 0, 0.3) 0px 3px 7px -3px;
}

.uslugi-list>ul {
    display: flex;
    flex-direction: column;
    text-align: end;
    padding: 20px 0px;
    width: 60%;
    justify-content: space-evenly;
}

.uslugi-list>img {
    object-fit: cover;
    width: 40%;
}

.uslugi-hr {
    width: 24rem;
    margin-top: 20px;
}

.zaglavie {
    font-size: 2rem;
    text-align: center;
    color: rgb(20, 130, 1);
    margin-bottom: 20px;
}

.header>hr {
    width: 160px;
}

li>p {
    font-size: 1.2vw;
    margin-left: 20px;
    font-family: Arial, Helvetica, sans-serif;
    font-weight: 300;
    color: rgb(20, 130, 1);
    line-height: 1.5;
}

.uslugi-list.reverse {
    flex-direction: row-reverse;
    justify-content: start;
    margin-left: auto;
}

.uslugi-list.reverse>ul {
    justify-content: space-evenly;
    text-align: start;
    flex-wrap: wrap;
    padding-right: 10px;
}

.uslugi-list.reverse>ul>li>i>p {
    font-family: Oswald;
    line-height: 1;
}

.uslugi-list.reverse>ul>li.header>hr {
    width: 160px;
}

li.check {
    display: flex;
    gap: 10px;
}

#icon,
#icon-text,
#icon1 {
    margin: 0;
    padding: 0;
    line-height: 1;
    text-align: start;
}

#icon {
    vertical-align: middle;
    font-size: 30px;
}

#icon1 {
    vertical-align: middle;
    font-size: 30px;
    margin-left: 20px;
}

#icon-text {
    padding-top: 2px;
    font-size: 20px;
    word-wrap: break-word;
}


.uslugi-list.reverse>ul {
    gap: 0px;
}

.carousel-image {
    height: 800px;
    width: 800px;
    object-fit: cover;
}

.carousel {
    width: 800px;
}

.carousel-holder {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 20px;
}

#carouselExampleIndicators > button.carousel-control-next > span.carousel-control-next-icon,#carouselExampleIndicators > button.carousel-control-prev > span.carousel-control-prev-icon{
    background-color: rgb(20, 130, 1);
}

/* Gallery section */

.gallery-section {
    display: flex;
    flex-direction: column;
    margin-bottom: 100px;
    align-items: center;
}

.gallery-header {
    text-align: center;
    font-size: 6rem;
    color: rgb(20, 130, 1);
    margin: 30px 0px;
}

.gallery-hr {
    width: 24rem;
    margin-top: 20px;
    margin-bottom: 35px;
}

.snimki {
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 30px;
    margin: 15px 0px;
    flex-wrap: wrap;
    padding: 0px 30px;
}

.snimki>li {
    border-radius: 8px;
    overflow: hidden;
    transition: scale 0.2s;
    box-shadow: rgba(50, 50, 93, 0.25) 0px 50px 100px -20px, rgba(0, 0, 0, 0.3) 0px 30px 60px -30px, rgba(10, 37, 64, 0.35) 0px -2px 6px 0px inset;
}

.snimki>li>img {
    height: 30vh;
    object-fit: cover;
}

.snimki>li:hover {
    scale: 1.05;
}

.gallery-button {
    margin: auto;
    font-size: 1.5rem;
    width: 140px;
    margin-top: 40px;
    background-color: rgb(20, 130, 1);
    text-decoration: none;
    color: white;
    padding: 16px 24px 20px 24px;
    text-align: center;
    transition: background-color 0.2s linear;
}

.gallery-button:hover {
    background-color: rgb(29, 192, 0);
}



/* Contact section */
.contact-section {
    margin: 25px 0px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

h3 {
    text-align: center;
    font-size: 3rem;
}

.contacts {
    margin: 60px 0px;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
}

.contacts>li {
    font-size: 25px;
    text-align: center;
}

a {
    text-decoration: none;
    color: black;
}

/* Footer */
footer {
    background-color: rgb(14, 86, 1);
    color: white;
    position: relative;
    bottom: 0;
    width: 100%;
}

footer>p {
    padding: 16px 32px;
    font-size: 20px;
}
@media(min-width:576px)
{
    body > nav{
        justify-content: end !important;
    }
    .navbar-expand-sm{
        justify-content: center !important;
    }
    nav>div>ul>li{
        margin:16px 0px;
    }
    
nav>div>ul>li{
    margin:8px 32px;
}

}
@media (max-width:420px) {
    footer>p {
        font-size: 14px;
        padding-top: 20px;
    }

    #icon {
        font-size: 24px;
    }

    #icon1 {
        font-size: 24px;
    }
}

@media(max-width:600px) {
    iframe {
        width: 100%;
    }

    img.partner {
        width: 100%;
        object-fit: scale-down;
        padding:0px 16px;
    }

    
}
@media(max-width:800px) {
    .carousel-image,
    .carousel {
        width: 100%;
    }

    .carousel-image {
        object-fit: contain;
        height: auto;
        padding:0px 16px;
    }
}
@media (max-width: 870px) {

    h1,
    p {
        text-align: center;
        word-wrap: break-word;
    }

    .button {
        align-self: center;
    }
}

@media (max-width:760px) {
    h1 {
        font-size: 15vw;
    }

    p.heroParagraph {
        font-size: 10vw;
    }

    p {
        font-size: 5vw;
    }

    .button {
        font-size: 5vw;
        width: 45vw;
    }

    nav {
        display: flex;
        width: 100%;
        justify-content: end;
    }
    body > div.hero > nav{
        margin-top:40px;
        display: flex;
        justify-content: end;
    }
    body > div.hero > nav > button > i{
        font-size:40px;
    }
    body > div.hero > nav > div > ul{
        align-items: end;
    }
    
    li#menu {
        margin-top: 36px;
        display: list-item;
        margin-bottom: 0px;
    }

    li#menu>a {
        border: none;
    }

    nav>ul {
        justify-content: end;
        margin-right: 40px;
    }

    .uslugi-list>ul>li>p {
        font-size: 3vw;
    }
}

@media(max-width:630px) {
    .contacts {
        flex-direction: column;
        align-items: center;
        margin: 30px 0px;
    }
}

@media (max-width:450px) {
    h1 {
        margin-top: 150px !important;
    }

    .hero {
        padding: 0px 30px;
    }

    .uslugi-header,
    .gallery-header {
        font-size: 20vw !important;
    }

    .uslugi>hr,
    .gallery-hr {
        width: 80vw;
    }

    .snimki>li>img {
        height: 25vh;
    }

}

@media (max-width:1228px) {
    .uslugi-list {
        width: 100%;
    }

    .uslugi-list>ul>li>p {
        font-size: 1.4vw;
    }
}

@media (max-width:920px) {

    .uslugi-list,
    .uslugi-list.reverse {
        flex-direction: column-reverse;
        justify-content: end;
        height: auto;
        padding-bottom: 20px;
    }

    .uslugi-list>img {
        height: 50%;
        width: 100%;
    }

    .check {
        margin-top: 10px;
    }

    .uslugi-list>ul {
        height: 50%;
        width: 100%;
        padding-bottom: 0;
        margin-bottom: 0;
        gap: 0px;
    }

    .header>hr {
        margin: auto;
    }

    .zaglavie {
        margin-top: 0px;
        text-align: center;
    }

    .uslugi-list>ul>li>p {
        text-align: start;
        margin: 8px;
        font-size: 15px;
    }

    .uslugi-list.reverse>ul>li.header>h3.zaglavie {
        text-align: center;
    }

    .uslugi-list.reverse>ul>li.header>hr {
        margin: auto;
    }

    .check {
        margin-left: 10px;
    }

    #icon-text {
        font-size: 20px;
        margin-right: 15px;
    }

    #icon1 {
        margin-left: 0px;
    }
}
@media(max-width:575px)
{
    body > nav > button > i{
        padding:24px;
    }
    #button{
        border:none;
    }
    ul.navbar-nav{
        align-items: center;
        justify-content: center;
    }
    hr.nav{
        width:100%;
        height:2px;
        opacity: 1;
    }
}
@media(max-width:450px) {
    #icon-text {
        font-size: 16px;
        margin-right: 8px;
    }
}

@media (max-width:1000px) {
    .uslugi-list {
        gap: 20px;
    }
}

.uslugi-holder {
    padding: 0px 60px;
}

@media (max-width:550px) {
    .uslugi-holder {
        padding: 0px 30px;
    }
}

@media (max-height:828px) {
    .hero>h1 {
        margin-top: 50px !important;
    }
}

@media (max-height:658px) {

    .button {
        margin-top: 25px;
    }
}

@media (max-height:830px) {
    .uslugi-list {
        min-height: 50vh;
    }
}

#topBtn {
    display: none;
    position: fixed;
    bottom: 20px;
    right: 30px;
    z-index: 99;
    border: none;
    outline: none;
    background-color: #0c0c0d;
    opacity: 0.75;
    color: white;
    cursor: pointer;
    padding: 15px;
    border-radius: 64px;
}

#topBtn:hover {
    background-color: #555;
}
@media(max-width:676px)
{
    nav>div>ul>li>a{
        font-size:24px;
    }
    
}

nav{
    background-color: rgb(14, 86, 1);
}

/*  */